#ifndef JOKCRDMG_H
#define JOKCRDMG_H

#include "cardmgr.h"

//
// This class implements a "standard" deck of 52 cards + a single joker
//

class JokerCardMgr : public CardMgr
{
	public:
		JokerCardMgr();
		virtual ~JokerCardMgr();

		virtual int32 getDeckSize();

		bool8 isJoker(uint8 Card);

		virtual uint8 getSuit(uint8 Card);
		virtual uint8 getRank(uint8 Card);

		virtual uint8 makeCard(int32 Index);

		virtual void encode(uint8 Card, uint8* Buf, int32* Used);

	public:
		enum CardSuits
		{
			SPECIAL	= 0x50
		};

		enum CardValues
		{
			JOKER = 0x01
		};
};

inline
JokerCardMgr::JokerCardMgr()
{
}

inline
JokerCardMgr::~JokerCardMgr()
{
}

#endif
